package com.pap.msg.message.mapper;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.msg.message.entity.MsgInfo;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;;

@Mapper
public interface MsgInfoMapper extends PapBaseMapper<MsgInfo> {
    int deleteByPrimaryKey(String msgInfoId);

    int selectCountByMap(Map<Object, Object> map);

    List<MsgInfo> selectListByMap(Map<Object, Object> map);

    MsgInfo selectByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int insert(MsgInfo record);

    int insertSelective(MsgInfo record);

    MsgInfo selectByPrimaryKey(String msgInfoId);

    int updateByPrimaryKeySelective(MsgInfo record);

    int updateByPrimaryKey(MsgInfo record);
}